package engine;

import javax.naming.NamingEnumeration;
import javax.naming.NamingException;
import javax.naming.directory.SearchResult;

/**
 *
 * @author beast
 */
public interface OntologyManager {

	void createNewEmptyOntology();

	void saveCEs(NamingEnumeration<SearchResult> namingEnumeration) throws NamingException;

	void saveClusters(NamingEnumeration<SearchResult> namingEnumeration) throws NamingException;

	void saveSEs(NamingEnumeration<SearchResult> namingEnumeration) throws NamingException;

	void saveServices(NamingEnumeration<SearchResult> namingEnumeration) throws NamingException;

	void saveSites(NamingEnumeration<SearchResult> namingEnumeration) throws NamingException;

	void saveSubClusters(NamingEnumeration<SearchResult> namingEnumeration) throws NamingException;

	void saveVOViews(NamingEnumeration<SearchResult> namingEnumeration) throws NamingException;
}
